-- GENERATED SPELL FOR [Scarshield Infiltrator] --


function spell0_10299(pUnit, Event) --@Mind Probe,n/a--
pUnit:FullCastSpellOnTarget(16037,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_10299', 2346, 1)
end

function Sorts_10299(pUnit, Event)
local choix_sorts_10299 = math.random(0, 0)
if choix_sorts_10299 == 0 then
pUnit:RegisterEvent('spell0_10299', 1, 1)
end
end

function mob10299_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_10299', math.random(1500, 3000), 1)
end

function mob10299_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10299_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10299_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(10299, 1, 'mob10299_Action')
RegisterUnitEvent(10299, 2, 'mob10299_Leave')
RegisterUnitEvent(10299, 3, 'mob10299_Kill')
RegisterUnitEvent(10299, 4, 'mob10299_Die')
